package com.example.demo.service.impl.qiaoliang;

/**
 * @author chenbenfeng
 * @date 2021-04-12
 */
public class MainTest {

    public static void main(String[] args) {
        Shape greenCircle = new Circle(10, new GreenPen());
        Shape redRectangle = new Rectangle(4, 8, new RedPen());

        greenCircle.draw2();
        redRectangle.draw2();
    }
}
